package yl.hs.bmipfull.pojo.finance;

import yl.hs.bmipfull.annotations.DBField;
import yl.hs.bmipfull.annotations.DBTable;
import yl.hs.bmipfull.pojo.BaseEntity;

import java.math.BigDecimal;
import java.util.Date;

/**
 * ShipInvoiceRecordEntity 发货开票记录
 * @category 财务管理——发货开票记录
 * @author 谢景广
 * @date 2022-01-08
 */
@DBTable(disName = "开票记录", mapCode = "ship_invoice_record")
public class ShipInvoiceRecordEntity extends BaseEntity {
    private Long id;
    @DBField(disName = "开票记录信息编号",mapCode = "sn", isSerialNumber = true,isRequire = true,snPrefix = "SIRN")
    private String sn;
    /**
     * 合同sn
     */
    private String contractSN;
    /**
     * 开票时间
     */
    private Date invoiceTime;
    /**
     * 发票编号
     */
    private String invoiceSN;
    /**
     * 开票金额
     */
    private BigDecimal invoiceAmount;
    /**
     * 开票人编号
     */
    private String invoiceHandlerSN;
    /**
     * 开票人姓名
     */
    private String invoiceHandlerName;
    /**
     * 票据类型（专票/普票)
     */
    private String invoiceType;
    /**
     * 开票方式（企业/个人）
     */
    private String invoiceWay;
    /**
     * 备注
     */
    private String remark;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getSn() {
        return sn;
    }

    public void setSn(String sn) {
        this.sn = sn;
    }

    public String getContractSN() {
        return contractSN;
    }

    public void setContractSN(String contractSN) {
        this.contractSN = contractSN;
    }

    public Date getInvoiceTime() {
        return invoiceTime;
    }

    public void setInvoiceTime(Date invoiceTime) {
        this.invoiceTime = invoiceTime;
    }

    public String getInvoiceSN() {
        return invoiceSN;
    }

    public void setInvoiceSN(String invoiceSN) {
        this.invoiceSN = invoiceSN;
    }

    public BigDecimal getInvoiceAmount() {
        return invoiceAmount;
    }

    public void setInvoiceAmount(BigDecimal invoiceAmount) {
        this.invoiceAmount = invoiceAmount;
    }

    public String getInvoiceHandlerSN() {
        return invoiceHandlerSN;
    }

    public void setInvoiceHandlerSN(String invoiceHandlerSN) {
        this.invoiceHandlerSN = invoiceHandlerSN;
    }

    public String getInvoiceHandlerName() {
        return invoiceHandlerName;
    }

    public void setInvoiceHandlerName(String invoiceHandlerName) {
        this.invoiceHandlerName = invoiceHandlerName;
    }

    public String getInvoiceType() {
        return invoiceType;
    }

    public void setInvoiceType(String invoiceType) {
        this.invoiceType = invoiceType;
    }

    public String getInvoiceWay() {
        return invoiceWay;
    }

    public void setInvoiceWay(String invoiceWay) {
        this.invoiceWay = invoiceWay;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
}
